class Animal{
    public String name;
    protected int age;
    public void animal(){
        System.out.println("dsfssdf");
    }
    public  Animal(){
        this.animal();
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Animal(int age) {
        this.age = age;
    }
}
public class Test {
    public static void main(String[] args) {
        Animal animal = new Animal(10);
        Animal animal1 = new Animal();

        System.out.println(animal.age);
    }
}
